package com.mvp.shq.washer.ui.rule;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.BasicInfo;
import com.mvp.shq.washer.entity.result.BaseResult;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/9/8.
 */

public interface RuleConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<BasicInfo>> getRule(String key);
    }
    interface View extends BaseView {
        void getRuleS(String content);
        void getRuleF(String msg);
    }
    public abstract class Presenter extends BasePresenter<Model,View>{
        abstract void getRule(String key);
    }
}
